<?php
require dirname(__FILE__) . '/../config.php';
require SMARTY_DIR . 'Smarty.class.php';

class uhetSmarty extends Smarty
{
	public function __construct(){
		
		parent::__construct();
		require dirname(__FILE__) . '/../config.php';
//		uhetdump($uhetConfig);
		$this->template_dir = $uhetConfig['smarty']['template'];
		$this->compile_dir = $uhetConfig['smarty']['compile'];
		$this->cache_dir = $uhetConfig['smarty']['cache'];
		$this->config_dir = $uhetConfig['smarty']['config'];
//		$this->debugging = true;
		$this->compile_check = true;
	}
}


?>